import {Document} from 'mongoose'

// 定义ITodo接口类型
// 扩展了所Document提供的类型mongoose
export interface ITodo extends Document{
  name: string
  description: string
  status: boolean
}